package com.yanqu.road.entity.log;

import com.yanqu.road.entity.FieldTypeAnnotation;

@FieldTypeAnnotation(tableName = "t_l_ck_cookboy1_match_food", desc = "小当家1-考核日志", autoSave = true, uploadCk = true)
public class LogCookBoy1MatchFood extends ServerBaseLog {

    @FieldTypeAnnotation(desc = "活动id", isIndex = true)
    private int activityId;
    @FieldTypeAnnotation(desc = "用户id", isIndex = true)
    private long userId;
    @FieldTypeAnnotation(desc = "场次")
    private int no;
    @FieldTypeAnnotation(desc = "菜品id")
    private int foodId;
    @FieldTypeAnnotation(desc = "考核排名")
    private int rank;
    @FieldTypeAnnotation(desc = "菜品分数")
    private int score;

    public LogCookBoy1MatchFood(int activityId, long userId, int no, int foodId, int rank, int score) {
        this.activityId = activityId;
        this.userId = userId;
        this.no = no;
        this.foodId = foodId;
        this.rank = rank;
        this.score = score;
    }

    public long getUserId() {
        return userId;
    }

}
